package com.sunshine.lnuplus.ui.activity

import android.os.Bundle
import androidx.recyclerview.widget.LinearLayoutManager
import com.sunshine.lnuplus.R
import com.sunshine.lnuplus.adapter.ShortCutRecyclerAdapter
import com.sunshine.lnuplus.base.BaseActivity
import com.sunshine.lnuplus.utils.StatusBarUtils
import kotlinx.android.synthetic.main.activity_short_cut.*

class ShortCutActivity : BaseActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_short_cut)

        initView()
    }

    private fun initView() {
        title = "Shortcut设置"
        StatusBarUtils.setStatusBarWithColor(this, color)
        arcView.setColor(color, color)

        shortcut_recycler.layoutManager = LinearLayoutManager(this)
        shortcut_recycler.adapter = ShortCutRecyclerAdapter(this, darkColor, supportFragmentManager)
    }
}
